Code2Of5AndSCode

Interface representing settings for Code 2 of 5 and S-Code symbologies.

This interface provides methods to configure space checks, data length, and S-code transmission for Code 2 of 5 and S-Code symbologies.

Functions

Link copied to clipboard
abstract suspend fun setMinimumDataLength(deviceId: String, dataLength: DataLength): CommandResponse

Sets the minimum data length for Code 2 of 5 and S-Code symbologies.

abstract fun setMinimumDataLength(deviceId: String, dataLength: DataLength, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setMinimumDataLength for Java interoperability.

Link copied to clipboard
abstract suspend fun setSCodeTransmissionAsInterleaved(deviceId: String, enabled: Boolean): CommandResponse

Sets the transmission mode of S-Code as Interleaved 2 of 5.

abstract fun setSCodeTransmissionAsInterleaved(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setSCodeTransmissionAsInterleaved for Java interoperability.

Link copied to clipboard
abstract suspend fun setSpaceCheck(deviceId: String, enabled: Boolean): CommandResponse

Sets the space check mode for Industrial 2 of 5 symbology.

abstract fun setSpaceCheck(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setSpaceCheck for Java interoperability.